class Player(object):
    def __init__(self, name, age, city):
        self.name = name
        self.age = age
        self.city = city


    def show(self):
        print('class Player: %s, %d, %s' %(self.name, self.age, self.city))


class VIP(Player):
    def __init__(self, name, age, city, level):
        super().__init__(name, age, city)
        self.level = level


    def show(self):
        print('class VIP: %s, %d, %s, %s' %(self.name, self.age, self.city, self.level))


tom = VIP('tom', 20, 'LA', 'level-1')
print(tom.__dict__)  # {'name': 'tom', 'age': 20, 'city': 'LA', 'level': 'level-1'}
tom.show()  # class VIP: tom, 20, LA, level-1